<?php


namespace App\Http\Controllers\cms;


use App\Engine\BaseController;
use App\Models\Admin as AdminModel;
use function app\Utils\go;

class Admin extends BaseController
{
    public function login()
    {
        $res=AdminModel::login($this->post);
        return go($res);
    }
}
